package com.dachuang.canjiren.service;

import com.dachuang.canjiren.entity.Follow;
import com.baomidou.mybatisplus.extension.service.IService;
import com.dachuang.common.utils.R;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author testjava
 * @since 2020-07-27
 */
public interface FollowService extends IService<Follow> {
    /**
     * 用户点赞
     * @param userId
     * @param followId
     * @return
     */
    R insertFollow(Integer userId, Integer followId);

    /**
     * 查询所有点赞
     * @return
     */
    R selectFollowList();

}
